//用户和表关联
import userModel from "../../models/system/userModel.js";
import roleModel from "../../models/system/roleModel.js";

userModel.belongsTo(roleModel, {foreignKey: 'roleId'});
roleModel.hasMany(userModel);